<template>
    <router-view></router-view>
</template>
<script setup lang="ts">
import { getMyDetail } from '@/apis/system'
import { onMounted } from 'vue'
import { setUserInfo } from './utils/store'
const getUserInfo = async () => {
    const res = await getMyDetail()
    setUserInfo(res)
}
onMounted(() => {
    getUserInfo()
})
</script>
<style scoped></style>
